package com.oceansoft.core.service.impl;

import java.io.OutputStream;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.hui.platform.system.exception.HuiException;
import com.oceansoft.core.common.util.impexp4xls.POIExporterImpl;
import com.oceansoft.core.common.util.impexp4xls.XLSExporter;
import com.oceansoft.core.service.ReportService;

@Service
public class ReportServiceImpl implements ReportService {

	

	@Override
	public void exportByCondition(OutputStream outStream, List list,
			String configName, Map customMap) throws HuiException {
		XLSExporter exp = new POIExporterImpl();
		exp.exportXLS(outStream, configName, list, customMap);
	}

}
